package com.superhero.common.pojo.vo.website;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "LoginOutput", description = "登录返回用户信息封装")
public class LoginOutput {

    @ApiModelProperty(name = "username", value = "用户名", dataType = "String")
    private String username;
    @ApiModelProperty(name = "token", value = "令牌", dataType = "String", notes = "以后请求头带此凭证")
    private String token;
    @ApiModelProperty(name = "role", value = "角色", dataType = "Integer", notes = "0-未实名认证用户 1-住户 2-检查人员 3-管理员")
    private Integer role;

}
